package cn.exrick.xboot.modules.research.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author lty
 */
@Data
@Accessors(chain = true)
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "t_subject_management")
@TableName("t_subject_management")
@ApiModel(value = "科研课题管理")
public class SubjectManagement extends XbootBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课题编号")
    private String subjectId;

    @ApiModelProperty(value = "项目名称")
    private String subjectName;

    @ApiModelProperty(value = "项目级别")
    private String grade;

    @ApiModelProperty(value = "项目来源")
    private String source;

    @ApiModelProperty(value = "负责人")
    private String leader;

    @ApiModelProperty(value = "参与人")
    private String participant;

    @ApiModelProperty(value = "部门")
    private String departmentName;

    @ApiModelProperty(value = "立项单位")
    private String unit;

    @ApiModelProperty(value = "立项时间")
    private String time;

}